package com.labbit.platform.commons.domain.vo;

import lombok.Data;

import java.io.Serializable;

/**
 * @Description 通用的id name 对象
 * @Date 2019-07-28 16:11
 * @Author CHEN YU
 **/
@Data
public class IdNameVO implements Serializable {

    private Long id;

    private String name;

    public IdNameVO() {
    }

    public IdNameVO(Long id, String name) {
        this.id = id;
        this.name = name;
    }

    @Override
    public String toString() {
        return "IdNameVO{" +
                "id=" + id +
                ", name='" + name + '\'' +
                '}';
    }
}
